import { BlueshellState } from "@konghayao/blueshell";
export abstract class BaseEnemy implements BlueshellState {
    errorReason?: Error;
    __blueshell: any;

    HP = 100; // 用于表示是逃跑还是攻击
    isAngry = false; // 外部通过设置 isAngry 直接激活相关的行为树

    // 下面是由行为树触发的函数，用于直接触发相关的行为
    abstract attack(): boolean;
    abstract patrol(): boolean;
    abstract defense(): boolean;
    abstract escape(): boolean;
}
